package fatworm.parser.syntree;
/**
 *	where cop node
 *	represents comparison expression
 */
public class WhereCopNode extends WhereAtomicNode{
	public fatworm.concept.RelOp relop;
	public ValueNode left, right;
	
	public WhereCopNode( fatworm.concept.RelOp relop , ValueNode left , ValueNode right ){
		this.relop = relop; this.left = left; this.right = right;
	}

	public String toString(){
		return left +  relop.toString()  + right;
	}

	public void accept( IWhereVisitor visitor ){
		visitor.visit( this );
	}
}
